package com.bjsxt;


import org.apache.commons.io.IOUtils;

import java.io.FileInputStream;

public class IOUtilsDemo {
    public static void main(String[] args)throws Exception {
        String content = IOUtils.toString(new FileInputStream("d:/sxt.txt"),"utf-8");
        System.out.println(content);
    }
}
